// -----------------------------------------------------------------------
//  <copyright file="SettingsController.cs" company="LiuliuSoft">
//      Copyright (c) 2025 66SOFT. All rights reserved.
//  </copyright>
//  <site>https://ifs.66soft.net</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025-10-06 00:10</last-date>
// -----------------------------------------------------------------------

using DaprPlus.Authorization.Application;
using DaprPlus.Identity.Domain.Entities;
using DaprPlus.Settings;
using DaprPlus.Settings.Controllers;
using DaprPlus.Settings.Domain.Services;

using OSharp.Reflection;


namespace DaprPlus.Identity.Api.Controllers;

[ApiResultWrapperFilter]
public class SettingsController(IMediator mediator) : SettingsControllerBase(mediator)
{
    public override Dictionary<string, string> SettingTypeFullNameDict => new()
    {
        {nameof(SiteSetting), typeof(SiteSetting).GetFullNameWithModule()},
        {nameof(TopAdminRoleSetting), typeof(TopAdminRoleSetting).GetFullNameWithModule()},
        {nameof(IdentitySetting), typeof(IdentitySetting).GetFullNameWithModule()},
        {nameof(ValidateCodeSetting), typeof(ValidateCodeSetting).GetFullNameWithModule()},
    };
}